﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Reflection;


using TRPOP.CMS.Model;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using System.Data.Common;
using TRPOP.Common;

namespace TRPOP.CMS.DALFactory
{
    public sealed partial class DataAccess
    {
        public static TRPOP.ComSqlDAL.ICommonDAL CreateCommon()
        {
            string className = "TRPOP.ComSqlDAL" + ".CommonDAL";
            return (TRPOP.ComSqlDAL.ICommonDAL)Assembly.Load("TRPOP.ComSqlDAL").CreateInstance(className);
        }
    }
}